package imagekeeper.data;

import java.sql.Connection;
import java.sql.SQLException;
import imagekeeper.data.mapping.ImageMapper;


class SqlStatementRemoveImage extends SqlStatement {
    private final static String ParamImageId = "imageId";
    
    public SqlStatementRemoveImage(Connection con, int imageId) throws SQLException {
        statement = con.prepareCall("{call " + ImageMapper.SpRemoveImage + "(?)}");
        statement.setInt(ParamImageId, imageId);
    }
}
